package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Songyf
 * @description 用户绑定cfca证书信息请求
 * @date 2021-05-08
 */
@Data
@ApiModel(value = "用户绑定cfca证书信息请求对象", description = "用户绑定cfca证书信息请求对象")
public class BindingCertReq extends BaseReqObj {

    private static final long serialVersionUID = -7433751543472531726L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", notes = "用户id", dataType = "Integer", required = true)
    @NotNull(message = "用户id不能为空！")
    private Integer userId;

    /**
     * 所属企业id
     */
    @ApiModelProperty(value = "ukey编号", notes = "ukey编号", dataType = "String", required = true)
    @NotNull(message = "ukey编号不能为空！")
    private String ukeyId;
}
